-----------------------------------	
-- Area: Mount Zhayolm
-- NM:	 Energetic Eruca
-- @zone 61
-- @pos 176.743, -14.210, -180.926
-----------------------------------	

require("scripts/globals/settings");
require("/scripts/zones/Mount_Zhayolm/MobIDs");
	
-----------------------------------	
-- onMobDeath	
-----------------------------------	
	
function onMobDeath(mob,killer)	

	-- Set EnE's ToD
	SetServerVariable("[POP]Energetic_Eruca", os.time(t) + (86400 /NM_TIMER_MOD)); -- 24 hours
	DeterMob(mob:getID(), true);

	-- Set PH back to normal, then set to respawn spawn
	PH = GetServerVariable("[PH]Energetic_Eruca");
	SetServerVariable("[PH]Energetic_Eruca", 0);
	DeterMob(PH, false);
	GetMobByID(PH):setRespawnTime(GetMobRespawnTime(PH));

end;
